<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<html>
<head>





	<title>左侧菜单</title>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="..\css\dtree.css">
	<STYLE>.navPoint {
		FONT-SIZE: 9pt; CURSOR: hand; COLOR: #000000; FONT-FAMILY: Webdings
	}
	P {
		FONT-SIZE: 9pt
	}
</STYLE>
	<script type="text/javascript" src="..\javascript\dtree.js"></script>
	<script type="text/javascript">
		tree = new dTree('tree');
		tree.config.folderLinks=false;
		tree.config.useCookies=false;
				tree.add("0",
				"-1",
				"系统功能",
				"",
				"系统功能",
				""
				);
<c:forEach items="${moduleList}" var="pm" varStatus="pmc">
	<c:if test="${empty pm.TModule}">
		tree.add("${pm.id}",
				"0",
				"${pm.name}",
				"",
				"${pm.name}",
				"main"
				);
	</c:if>
	<c:if test="${!empty pm.TModule}">
		tree.add("${pm.id}",
				"${pm.TModule.id}",
				"${pm.name}",
				"${pm.url}",
				"${pm.name}",
				"main"
				);
	</c:if>
</c:forEach>
		function switchSysBar(){
			if (switchPoint.innerText==3){
				switchPoint.innerText=4
				document.all("frmTitle").style.display="none"
			}
			else{
				switchPoint.innerText=3
				document.all("frmTitle").style.display=""
			}
		}
	</script>
</head>

<body topmargin=0px leftmargin=0px rightmargin=0px bottommargin=0px
	scroll=no bgColor=#cfdfff>
	<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0
		bgcolor="#edf1f8">
		<TR>
			<TD id=frmTitle vAlign=top noWrap align=left name="frmTitle"
				WIDTH="160">
				<script type="text/javascript">
					document.write(tree);
				</script>
			</TD>
			<TD style="WIDTH: 10pt">
				<TABLE height="100%" cellSpacing=0 cellPadding=0 border=0>
					<TR>
						<TD width=1 bgColor=#000000></TD>
						<TD style="HEIGHT: 100%" onclick=switchSysBar() bgColor=#bfbfbf>
							<SPAN class=navPoint id=switchPoint title=open/close>3</SPAN>
						</TD>
					</TR>
				</TABLE>
			</TD>
			<TD style="WIDTH: 100%">
				<IFRAME id=frmright
					style="Z-INDEX: 1; VISIBILITY: inherit; WIDTH: 100%; HEIGHT: 100%"
					name=main src="view.htm" frameBorder=0></IFRAME>
			</TD>
		</TR>
	</TABLE>
</BODY>
</html>
